php forum
php mysql forum
php mysql smarty
 
Page 1 of 7 1 2 3 4 5 6 7 >
Topic Options
#137125 - 06/20/01 04:43 PM [6.0x] Introducing: UBBNews 2!
JB007 Offline
Member

Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
UBBNews 2.0:
This new version is a rewrite version with a major feature called 'news sessions', I'll discuss it later. Please note that this version is beta. So you may report any problems HERE ( don't email me ).

News Sessions:
Suppose you've got forums A,B,C,D and you want to display the forums A and B topics on a page and the forums C,D on another page and you want them to have compeletly different configuration settings ( max topics, characters limit , status , style template ). With News Sessions that's possible! You can create many news sessions as you like from the CP with different settings and different forums to grab topics from, and to get a specific news session's content via URL, you simpely do this: ubbnews.cgi?ns_id=NEWS_SESSION_ID . The id's are displayed in the control panel.

Practical Example:
We've created a news session from the CP with the forums A,B,C and the id was #2, we want to display the news on these forums so we simply make an SSI call with: ubbnews.cgi?ns_id=2

So, give it a try and report dozons of errors as usual laugh
Download here .
_________________________

Top
#137126 - 06/20/01 04:46 PM Re: [6.0x] Introducing: UBBNews 2!
Eel Offline
Member

Registered: 06/13/01
Posts: 57
Are there any demo boards?

Top
#137127 - 06/20/01 04:51 PM Re: [6.0x] Introducing: UBBNews 2!
JB007 Offline
Member

Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
Actually, you won't notice much differece between the user-end in this version and the pervious one. Major change is in the control panel.
_________________________

Top
#137128 - 06/20/01 04:51 PM Re: [6.0x] Introducing: UBBNews 2!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
the features sound good jb, something we need... will test it on a test board soon.
_________________________
- Allen wavey
- What Drives You?

Top
#137129 - 06/20/01 05:31 PM Re: [6.0x] Introducing: UBBNews 2!
freak.scene Offline
Member

Registered: 08/15/00
Posts: 677
Loc: Charlotte, NC
Sounds good Bond wink

One question, does it have upgrade instructions?
_________________________
jeremiah

Top
#137130 - 06/20/01 05:57 PM Re: [6.0x] Introducing: UBBNews 2!
DPK.ducky.quack Offline
Developer

Registered: 11/18/00
Posts: 874
lookin good, sessions are just what i need
_________________________

Top
#137131 - 06/20/01 06:16 PM Re: [6.0x] Introducing: UBBNews 2!
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Nice job!!! Wow...
laugh

Top
#137132 - 06/20/01 06:19 PM Re: [6.0x] Introducing: UBBNews 2!
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Code:
code:


should be:

Code:
code:

Top
#137133 - 06/20/01 08:10 PM Re: [6.0x] Introducing: UBBNews 2!
ruph Offline
Member

Registered: 02/15/01
Posts: 115
Awesome! You should update the zip with MasterMinds fix.. it doesnt work unless you change the t to T.. you should have an intstruction for upgrading and put a note there somewhere about the perl path for ubbnews.cgi.. laugh

Top
#137134 - 06/20/01 08:55 PM Re: [6.0x] Introducing: UBBNews 2!
Fuzion Offline
Member

Registered: 11/22/00
Posts: 717
Loc: Arkansas
Awsome JB, I have been waiting for a good news script like this. smile

Top
#137135 - 06/20/01 10:49 PM Re: [6.0x] Introducing: UBBNews 2!
Djnemesis Offline
Member

Registered: 02/02/01
Posts: 122
Loc: Austin,Tx
incase anyone didn't catch what mastermind was talking about.. Look in ubbnews.cgi

You'll see the code correction he is talking about, it threw me for a loop at first.

<FONT COLOR="#000000" SIZE="1">[ June 20, 2001 10:59 PM: Message edited by: Djnemesis ]</font>

Top
#137136 - 06/21/01 12:20 AM Re: [6.0x] Introducing: UBBNews 2!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
bugs:

- when setting sessions, it looks for the vars files in the $vars_config{CGIPath}/ubbnews/vars_ubbnews..etc path - need to either add instructions to create the ubbnews folder in the cgi directory and upload the vars file to it, or change the scripts to look for the vars file in the cgi folder

- colors in the output should more closely pull from the ubb variables, what I mean is, if your background color is categorystripbackgroundcolor, then your text color should be categorystriptextcolor, or the titles can and will be invisible for a lotta sites smile
_________________________
- Allen wavey
- What Drives You?

Top
#137137 - 06/21/01 02:37 AM Re: [6.0x] Introducing: UBBNews 2!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
request: can you set a session to show headlines only?

reason: I'd like to have 1-2 announcements up top and then below a list of maybe the last 5-10 headlines... that way we can keep the latest news in front of the visitor without making them scroll for 4-5 pages. smile

possibly an option to show headlines below the announcements and how many would be tres cool smile

Nice work tho... a few bugs (to be expected in beta), but great possibilities..:)
_________________________
- Allen wavey
- What Drives You?

Top
#137138 - 06/21/01 02:40 AM Re: [6.0x] Introducing: UBBNews 2!
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Good job JB007...

I agree with Allen.

<FONT COLOR="#000000" SIZE="1">[ June 21, 2001 02:42 AM: Message edited by: LK ]</font>
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#137139 - 06/21/01 04:56 AM Re: [6.0x] Introducing: UBBNews 2!
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
I'm thinking you could also use this like a much better version of the original Active Topics (UBB5). UBB6 version is pretty useless =).

So some sort of Headlines (Subject, date, poster, time / No. to show / Format) feature like AA states would help.

Top
#137140 - 06/21/01 05:52 AM Re: [6.0x] Introducing: UBBNews 2!
JB007 Offline
Member

Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
Well, I've updated the hack, here are the fixes, new features:

1. When I was developing the hack, I added the hashes to the use vars statement in cp.cgi but forgot to mention that in the installation file, this is now fixed.
2. Applied MM's fix.
3. Added 'View Headlines Only' feature, you can enable it from the news session addition/modification page. It will show only the forum,topic subject and the posting date of the topic ( like Ted's old news grabber ).
4. Minor changes in the templates to be more ubb-style compatible.
5. Minor change in the wordlets file, actually there was a typo in one of the hash keys.

To update, just perform the first new step of the cp.cgi instructions and reupload all files.

For those who want to upgrade from previous versions, you must uninstall the old hack, install the new one and create a new session that matches your old settings.

Allen, the instructions for creating the new directory are already there ( in the 'preparing for install' section ).
_________________________

Top
#137141 - 06/21/01 10:34 AM Re: [6.0x] Introducing: UBBNews 2!
lurili Offline
Member

Registered: 06/11/01
Posts: 36
Loc: InSaNe Ascylum
The first one kicked butt. This one is even better, News Sessions are great! No bugs from this side of the farm reported. laugh
_________________________

Top
#137142 - 06/21/01 11:33 AM Re: [6.0x] Introducing: UBBNews 2!
Tech-Ni-Kal Offline
Member

Registered: 05/23/01
Posts: 2685
Loc: » Ü § Ĺ «
Very Very Nice Hack!

Top
#137143 - 06/21/01 12:01 PM Re: [6.0x] Introducing: UBBNews 2!
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Sorry Bond, I missed that, was just reading the bottom..:)

On our front page I am using it in the upper right column as a "semi-replacement" for active.cgi. The topics aren't updating with the changes in the forums, any idea? It sounds like it is reading the cache when first built and not when the threads update in the forums. Also, when selecting more than one forum to read from, it pulls the latest howevermany topics you input from each forum, not that number (ex.: 4) from all the forums as a group... your news is gonna be huge if you select more than 1-2 topics and more than 1 forum to read them from smile

Another suggestion, the option to enclose the headlines in one $TBT / $TBB type table so that if we include the headlines below the main announcements, they aren't just left our there all alone smile I attempted to do this myself with varying results, most all of them very bad. smile

Other than that, excellent work Bond!
_________________________
- Allen wavey
- What Drives You?

Top
#137144 - 06/21/01 12:20 PM Re: [6.0x] Introducing: UBBNews 2!
JB007 Offline
Member

Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
Thanks for your comments Allen, I'll look after the problem. And about enclosing the headlines in a table header/footer , this will require a bit of work, but I'll do it.
_________________________

Top
Page 1 of 7 1 2 3 4 5 6 7 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks